package com.mercury.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ：tx
 * @description：
 * @date ：Created in 2019/3/12 14:51
 * @modified By：
 * @version:
 */
@Controller
@RequestMapping("/mineController")
public class MineController {

    @RequestMapping("/secretMessage")
    public String getSecretMessage(){
        return "secretMessageView";
    }

    @RequestMapping("/commenMessage")
    public String getCommenMessage(){
        return "commenMessageView";
    }

    @RequestMapping("/form")
    public String getFormMessage(){
        return "formView";
    }

    //--------------------------
    @RequestMapping("/login")
    public String loginView(){
        return "loginView";
    }

    @RequestMapping("/checkMessage")
    public String checkMessage(){
        return "loginView";
    }

    @RequestMapping("/logout")
    public String lougout(){
        return "logoutView";
    }
}
